package com.busi.model;

import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 夺宝活动方案实体类
 * @author 	zs
 * @Date 	2017-5-13 20:40:30
 */


public class ActivityPlan extends BaseModel implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6523030110582308330L;
	private String id;						//ID
	private String competitionId;			//方案编号
	private String competitionName;			//方案名称
	private String productId;				//商品编号
	private String goodsName;				//商品名称
	private String goodsname;				//商品名称
	private Integer partion;				//总份额
	private Integer perpartion;				//每份额
	private String drawNum;					//夺宝期号
	
	private Integer partNum;				//参与人数
	private Integer state;					//方案状态
	private Timestamp startTime;			//开始时间
	private Timestamp endTime;				//结束时间
	private Integer nextInterval;			//下一期间隔时间
	private Timestamp modTime;				//修改时间
	private Timestamp inTime;				//入库
	
	
    private String usecommodity;            //商品用途
	private String merchandise;             //商品类别
	private Integer currentinventory;        //当前库存量
	private Integer periods;                //已开奖期数
    private Integer commodityprice;         //商品售价
   
    private String smallpic	;               //小图路径
    
    private String sharetitle;
    private String sharecontent;
    
	public String getSharetitle() {
		return sharetitle;
	}
	public void setSharetitle(String sharetitle) {
		this.sharetitle = sharetitle;
	}
	public String getSharecontent() {
		return sharecontent;
	}
	public void setSharecontent(String sharecontent) {
		this.sharecontent = sharecontent;
	}
	public String getGoodsname() {
		return goodsname;
	}
	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}
	public String getSmallpic() {
		return smallpic;
	}
	public void setSmallpic(String smallpic) {
		this.smallpic = smallpic;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCompetitionId() {
		return competitionId;
	}
	public void setCompetitionId(String competitionId) {
		this.competitionId = competitionId;
	}
	public String getCompetitionName() {
		return competitionName;
	}
	public void setCompetitionName(String competitionName) {
		this.competitionName = competitionName;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public Integer getPartion() {
		return partion;
	}
	public void setPartion(Integer partion) {
		this.partion = partion;
	}
	public Integer getPerpartion() {
		return perpartion;
	}
	public void setPerpartion(Integer perpartion) {
		this.perpartion = perpartion;
	}
	public String getDrawNum() {
		return drawNum;
	}
	public void setDrawNum(String drawNum) {
		this.drawNum = drawNum;
	}
	public Integer getPartNum() {
		return partNum;
	}
	public void setPartNum(Integer partNum) {
		this.partNum = partNum;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Timestamp getStartTime() {
		return startTime;
	}
	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}
	public Timestamp getEndTime() {
		return endTime;
	}
	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}
	public Integer getNextInterval() {
		return nextInterval;
	}
	public void setNextInterval(Integer nextInterval) {
		this.nextInterval = nextInterval;
	}
	public Timestamp getModTime() {
		return modTime;
	}
	public void setModTime(Timestamp modTime) {
		this.modTime = modTime;
	}
	public Timestamp getInTime() {
		return inTime;
	}
	public void setInTime(Timestamp inTime) {
		this.inTime = inTime;
	}

	public String getUsecommodity() {
		return usecommodity;
	}
	public void setUsecommodity(String usecommodity) {
		this.usecommodity = usecommodity;
	}
	public String getMerchandise() {
		return merchandise;
	}
	public void setMerchandise(String merchandise) {
		this.merchandise = merchandise;
	}

	public Integer getCurrentinventory() {
		return currentinventory;
	}
	public void setCurrentinventory(Integer currentinventory) {
		this.currentinventory = currentinventory;
	}
	public Integer getPeriods() {
		return periods;
	}
	public void setPeriods(Integer periods) {
		this.periods = periods;
	}
	public Integer getCommodityprice() {
		return commodityprice;
	}
	public void setCommodityprice(Integer commodityprice) {
		this.commodityprice = commodityprice;
	}
	@Override
	public String toString() {
		return "ActivityPlan [competitionId=" + competitionId + ", competitionName=" + competitionName + ", productId="
				+ productId + ", goodsName=" + goodsName + ", partion=" + partion + ", perpartion=" + perpartion
				+ ", drawNum=" + drawNum + ", partNum=" + partNum + ", state=" + state + ", startTime=" + startTime
				+ ", endTime=" + endTime + ", nextInterval=" + nextInterval + ", modTime=" + modTime + ", inTime="
				+ inTime + ", usecommodity=" + usecommodity + ", merchandise=" + merchandise + ", currentinventory="
				+ currentinventory + ", periods=" + periods + ", commodityprice=" + commodityprice + ", smallpic="
				+ smallpic + "]";
	}


	
}
